<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Railway Operation Simulator: DisplayUnit.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="railway-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Railway Operation Simulator
   &#160;<span id="projectnumber">v2.23.2</span>
   </div>
   <div id="projectbrief">A railway simulator for Windows</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_display_unit_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">DisplayUnit.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_display_unit_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// DisplayUnit.cpp  (No own functions called so no call logs)</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">      BEWARE OF COMMENTS in .cpp files:  they were accurate when written but have</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">      sometimes been overtaken by changes and not updated</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">      Comments in .h files are believed to be accurate and up to date</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">      This is a source code file for &quot;railway.exe&quot;, a railway operation</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">      simulator, written originally in Borland C++ Builder 4 Professional with</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">      later updates in Embarcadero C++Builder.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">      Copyright (C) 2010 Albert Ball [original development]</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">      This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">      it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">      the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">      (at your option) any later version.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">      This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">      but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">      GNU General Public License for more details.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">      You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">      along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;Classes.hpp&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;Controls.hpp&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;StdCtrls.hpp&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;Forms.hpp&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;Buttons.hpp&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;ExtCtrls.hpp&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;Menus.hpp&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;Dialogs.hpp&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;Graphics.hpp&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;ComCtrls.hpp&gt;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;fstream&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;vcl.h&gt;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &lt;Vcl.Imaging.jpeg.hpp&gt;</span>         <span class="comment">//for user graphics (.bmp already included in vcl)</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;Vcl.Imaging.pngimage.hpp&gt;</span>     <span class="comment">//for user graphics</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;Vcl.Imaging.GIFImg.hpp&gt;</span>       <span class="comment">//for user graphics</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#pragma hdrstop</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_display_unit_8h.html">DisplayUnit.h</a>&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_graphic_unit_8h.html">GraphicUnit.h</a>&quot;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_utilities_8h.html">Utilities.h</a>&quot;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_train_unit_8h.html">TrainUnit.h</a>&quot;</span>  <span class="comment">//to stop the clock during the beeps in WarningLog</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#pragma package(smart_init)</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_display_unit_8h.html#aa781ea2de39397559c589e8db60300c7">   54</a></span>&#160;<a class="code" href="class_t_display.html">TDisplay</a> *<a class="code" href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_display_unit_8h.html#ac66976d8ed5bd3bb0a02dedc13b82bd7">   55</a></span>&#160;<a class="code" href="class_t_display.html">TDisplay</a> *<a class="code" href="_display_unit_8cpp.html#ac66976d8ed5bd3bb0a02dedc13b82bd7">HiddenDisplay</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_display_unit_8h.html#a61e2ec8265e2b954974bc4da5d078542">   56</a></span>&#160;<a class="code" href="class_t_display.html">TDisplay</a> *<a class="code" href="_display_unit_8cpp.html#a61e2ec8265e2b954974bc4da5d078542">StaticFeaturesDisplay</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">TDisplay::DisplayOffsetH</a> = 0; <span class="comment">// have to be initialised outside the class, these lines aren&#39;t called</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">TDisplay::DisplayOffsetV</a> = 0; <span class="comment">// in the normal way, the members are presumably intialised by the compiler</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#aef050e7f3b440542a12bbccd27bcd99d">TDisplay::DisplayOffsetHHome</a> = 0; <span class="comment">// without being executed</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#a4ea243ff377fcc09d3da53dbb2b18dfe">TDisplay::DisplayOffsetVHome</a> = 0;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#aa26d2bf6d6d14ad1c853f81f06f25121">TDisplay::DisplayZoomOutOffsetH</a> = 0;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#a3c63a18e8901299ab56176c034072b1c">TDisplay::DisplayZoomOutOffsetV</a> = 0;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#a62c3d449d00b1a063a4bf7f212968e87">TDisplay::DisplayZoomOutOffsetHHome</a> = 0;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_t_display.html#a758f553cef2eb9b3eee4d491454a7da9">TDisplay::DisplayZoomOutOffsetVHome</a> = 0;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">//removed TMemo* &amp;MemoBox at v2.13.0 when created new performance log form</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_t_display.html#ab34b9c853e7e348cce8e9c19507d9f04">   69</a></span>&#160;<a class="code" href="class_t_display.html#ab34b9c853e7e348cce8e9c19507d9f04">TDisplay::TDisplay</a>(TImage* &amp;Image, TLabel* &amp;L1, TLabel* &amp;L2, TLabel* &amp;L3, TLabel* &amp;L4, TLabel* &amp;L5, TLabel* &amp;L6, TLabel* &amp;L7, TLabel* &amp;L8,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                   TLabel* &amp;L9, TLabel* &amp;L10) : Output(Image), OutputLog1(L1), OutputLog2(L2), OutputLog3(L3), OutputLog4(L4), OutputLog5(L5),</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    OutputLog6(L6), OutputLog7(L7), OutputLog8(L8), OutputLog9(L9), OutputLog10(L10)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;{</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment">// ensure the font type supports the size chosen or will default to nearest</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">// arial 7pt is clear &amp; fits between tracks, apart from bottom of descenders;</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">// Lydian 7pt fits in 8 pixels high &amp; isn&#39;t bad for small font</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">// Kartika 10pt is clear &amp; fits in 8 pixels (height 12.5)</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Style.Clear();</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Name = <span class="stringliteral">&quot;MS Sans Serif&quot;</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Size = 10;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Color = <a class="code" href="_graphic_unit_8h.html#a8958d0a4fdeb286d421bfd3f8e655406">clB0G0R0</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Charset = (TFontCharset)(0);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="class_t_display.html#a0ce29cc370b43313ff15bee9423bf338">ZoomOutFlag</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;}</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_t_display.html#a9ab49e52c7eb92b32ae2c34547183439">   87</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a9ab49e52c7eb92b32ae2c34547183439">TDisplay::PlotOutput</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos, Graphics::TBitmap *PlotItem)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;{</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a>-&gt;<a class="code" href="class_t_display.html#a0ce29cc370b43313ff15bee9423bf338">ZoomOutFlag</a>)</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    {</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotOutput,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos));</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw(HPos - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16), VPos - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16), PlotItem);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">// Update(); dropped as many operations too slow</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1461);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;}</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_t_display.html#a60756c55ee44db2e876d0419417b9e25">  101</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a60756c55ee44db2e876d0419417b9e25">TDisplay::PlotAndAddUserGraphic</a>(<span class="keywordtype">int</span> Caller, <a class="code" href="class_t_user_graphic_item.html">TUserGraphicItem</a> UserGraphicItem)</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;{</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a>-&gt;<a class="code" href="class_t_display.html#a0ce29cc370b43313ff15bee9423bf338">ZoomOutFlag</a>)</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    }</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotAndAddUserGraphic,&quot;</span> + AnsiString(UserGraphicItem.<a class="code" href="class_t_user_graphic_item.html#ae91c3159a272b27570a71d77f9967ed3">HPos</a>) + <span class="stringliteral">&quot;,&quot;</span> +</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                                 AnsiString(UserGraphicItem.<a class="code" href="class_t_user_graphic_item.html#ad50f7c3baaef1bf56f34c3059f665320">VPos</a>));</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw(UserGraphicItem.<a class="code" href="class_t_user_graphic_item.html#ae91c3159a272b27570a71d77f9967ed3">HPos</a> - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16), UserGraphicItem.<a class="code" href="class_t_user_graphic_item.html#ad50f7c3baaef1bf56f34c3059f665320">VPos</a> - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16), UserGraphicItem.<a class="code" href="class_t_user_graphic_item.html#a1030e112811e13f2d740d2ee964a3a9f">UserGraphic</a>-&gt;Graphic);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(2179);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;}</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_t_display.html#a95aaa80515f0abb7715920b326b318dd">  115</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a95aaa80515f0abb7715920b326b318dd">TDisplay::PlotSmallOutput</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos, Graphics::TBitmap *PlotItem)</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotSmallOutput,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos));</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw(HPos - (<a class="code" href="class_t_display.html#aa26d2bf6d6d14ad1c853f81f06f25121">DisplayZoomOutOffsetH</a> * 4), VPos - (<a class="code" href="class_t_display.html#a3c63a18e8901299ab56176c034072b1c">DisplayZoomOutOffsetV</a> * 4), PlotItem);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">// Update();  too slow with this</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1462);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;}</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_t_display.html#ac97de4f74b0b295de941320578d6da28">  125</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#ac97de4f74b0b295de941320578d6da28">TDisplay::Ellipse</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos, TColor Col)</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;{</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,Ellipse,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos) + <span class="stringliteral">&quot;,&quot;</span> +</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                                 AnsiString(Col));</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    TBrush *TempBrush = <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush-&gt;Style = bsClear;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Style = psSolid;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Width = 2;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Color = Col;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Ellipse(HPos + 4 - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16), VPos + 4 - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16), HPos + 12 - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16),</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;                            VPos + 12 - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16));</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush = TempBrush;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <a class="code" href="class_t_display.html#aa4f37ab2a4df6437a2219f303e1de40b">Update</a>();</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1463);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_t_display.html#a63930b93b9883463cd9d779e86fefba2">  144</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a63930b93b9883463cd9d779e86fefba2">TDisplay::InvertElement</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos)</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;{</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,InvertElement,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos));</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;CopyMode = cmDstInvert; <span class="comment">// invert image</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <a class="code" href="class_t_display.html#a9ab49e52c7eb92b32ae2c34547183439">PlotOutput</a>(68, HPos, VPos, <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#ab497983d1bc5230e83e71688012fda96">bmSolidBgnd</a>);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;CopyMode = cmSrcCopy; <span class="comment">// restore</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <a class="code" href="class_t_display.html#aa4f37ab2a4df6437a2219f303e1de40b">Update</a>();</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1464);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;}</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_t_display.html#a9c7886bf1e4622e8560ad7558ede8dcc">  156</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a9c7886bf1e4622e8560ad7558ede8dcc">TDisplay::Rectangle</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos, TColor Col, <span class="keywordtype">int</span> Size, <span class="keywordtype">int</span> Width) <span class="comment">// Size 0,2,4,6 for large to small</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;{</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,Rectangle,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos) + <span class="stringliteral">&quot;,&quot;</span> +</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                                 AnsiString(Col) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Size));</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    TBrush *TempBrush = <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush-&gt;Style = bsClear;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Style = psSolid;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Width = <a class="code" href="class_t_display.html#a39cee11613d156de0d1f5df923a02c8d">Width</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Color = Col;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Rectangle(HPos + Size - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16), VPos + Size - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16), HPos + 16 - Size - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16),</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;                              VPos + 16 - Size - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16));</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush = TempBrush;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <a class="code" href="class_t_display.html#aa4f37ab2a4df6437a2219f303e1de40b">Update</a>();</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1465);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;}</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_t_display.html#ab96c1fdec64997a8c252704ea6c231bf">  175</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#ab96c1fdec64997a8c252704ea6c231bf">TDisplay::Clear</a>(<span class="keywordtype">int</span> Caller, TRect Rect)</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;{</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,Clear,&quot;</span> + AnsiString(Rect.left) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Rect.top));</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush-&gt;Color = <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a89b8716bbc78332d40427ed688ce56bd">clTransparent</a>;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;FillRect(Rect);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1466);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;}</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="class_t_display.html#a8d990507ae0111e0b7890e8aa77fd76d">  185</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a8d990507ae0111e0b7890e8aa77fd76d">TDisplay::ClearDisplay</a>(<span class="keywordtype">int</span> Caller)</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;{</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,ClearDisplay&quot;</span>);</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush-&gt;Color = <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a89b8716bbc78332d40427ed688ce56bd">clTransparent</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;FillRect(<a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;ClientRect);</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1467);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;}</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="class_t_display.html#adfff17bfef798b07b1e6bbfc6f5e0822">  195</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#adfff17bfef798b07b1e6bbfc6f5e0822">TDisplay::TextOut</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos, AnsiString TextString, TFont *Font)</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;{</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,TextOut,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos) + <span class="stringliteral">&quot;,&quot;</span> +</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;                                 TextString + <span class="stringliteral">&quot;,&quot;</span> + Font-&gt;Name);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keywordflow">if</span>((Font-&gt;Color &lt; TColor(0)) || (Font-&gt;Color &gt; TColor(0xFFFFFF)))</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    {</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        Font-&gt;Color = <a class="code" href="_graphic_unit_8h.html#a8958d0a4fdeb286d421bfd3f8e655406">clB0G0R0</a>; <span class="comment">// set to black for any of special windows colours</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    }</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    TFont *TempInputFont = <span class="keyword">new</span> TFont; <span class="comment">// don&#39;t alter the original font or won&#39;t print black on images</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    TFont *TempCanvasFont = <span class="keyword">new</span> TFont; <span class="comment">// store Output-&gt;Canvas font to put back later</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    TempCanvasFont-&gt;Assign(<a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font);</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    TempInputFont-&gt;Assign(Font);</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a89b8716bbc78332d40427ed688ce56bd">clTransparent</a> != <a class="code" href="_graphic_unit_8h.html#a5a252ce29dda0ebeaba8cbd3cb2ac4e5">clB5G5R5</a>) <span class="comment">// dark background</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    {</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <span class="keywordflow">if</span>(TempInputFont-&gt;Color == <a class="code" href="_graphic_unit_8h.html#a8958d0a4fdeb286d421bfd3f8e655406">clB0G0R0</a>)</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        {</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;            TempInputFont-&gt;Color = <a class="code" href="_graphic_unit_8h.html#a5a252ce29dda0ebeaba8cbd3cb2ac4e5">clB5G5R5</a>; <span class="comment">// if font was black set it to white for for dark backgrounds</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        }</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    }</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    TBrush *TempBrush = <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush-&gt;Style = bsClear; <span class="comment">// so text prints transparent</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Assign(TempInputFont);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;TextOut(HPos - (<a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a> * 16), VPos - (<a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a> * 16), TextString);</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Font-&gt;Assign(TempCanvasFont); <span class="comment">// restore original</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush = TempBrush; <span class="comment">// restore original brush</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keyword">delete</span> TempInputFont;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keyword">delete</span> TempCanvasFont;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1469);</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;}</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_t_display.html#a2b408bc588565f7b0cdcb85edc7479b7">  229</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a2b408bc588565f7b0cdcb85edc7479b7">TDisplay::GetRectangle</a>(<span class="keywordtype">int</span> Caller, TRect DestRect, TRect SourceRect, Graphics::TBitmap* &amp;OriginalGraphic)</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;{</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,GetRectangle,&quot;</span> + AnsiString(DestRect.left) + <span class="stringliteral">&quot;,&quot;</span> +</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                                 AnsiString(DestRect.top) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(SourceRect.left) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(SourceRect.top));</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    OriginalGraphic-&gt;Canvas-&gt;CopyRect(DestRect, <a class="code" href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a>-&gt;<a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas, SourceRect);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1470);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;}</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_t_display.html#ad601661fd4cd79a47b4c80ae77f901a9">  239</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#ad601661fd4cd79a47b4c80ae77f901a9">TDisplay::PlotBlank</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HLoc, <span class="keywordtype">int</span> VLoc)</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;{</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotBlank,&quot;</span> + AnsiString(HLoc) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VLoc));</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw((HLoc - <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a>) * 16, (VLoc - <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a>) * 16, <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#ab497983d1bc5230e83e71688012fda96">bmSolidBgnd</a>);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="comment">// Update();</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1471);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;}</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="class_t_display.html#aab35e517eba56f1c95f500958ce431ae">  249</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#aab35e517eba56f1c95f500958ce431ae">TDisplay::PlotPointBlank</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HLoc, <span class="keywordtype">int</span> VLoc)</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;{</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a>-&gt;<a class="code" href="class_t_display.html#a0ce29cc370b43313ff15bee9423bf338">ZoomOutFlag</a>)</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    {</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    }</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotPointBlank,&quot;</span> + AnsiString(HLoc) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VLoc));</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw(((HLoc - <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a>) * 16) + 3, ((VLoc - <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a>) * 16) + 3, <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a8edd1550f94d08a5125de2b182428081">bmPointBlank</a>);</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="comment">// Update();</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1473);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;}</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="class_t_display.html#a6e970089a9419e6bdd12576b6e860c95">  263</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a6e970089a9419e6bdd12576b6e860c95">TDisplay::PlotSignalBlank</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HLoc, <span class="keywordtype">int</span> VLoc, <span class="keywordtype">int</span> SpeedTag, <span class="keywordtype">bool</span> RHSFlag)</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;{</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="comment">      straight signals:</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="comment">      straight signals:</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="comment">      N    16x7  hoff = 0, voff = 0    68    RHSigs   N&lt;-&gt;S   E&lt;-&gt;W   hoff 0, voff 9</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="comment">      S    16x7  hoff = 0, voff = 9    69                                  0       0</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="comment">      W    7x16  hoff = 0, voff = 0    70                                  9       0</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="comment">      E    7x16  hoff = 9, voff = 0    71                                  0       0</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="comment">      diagonal signals</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="comment">      SW    11x11  hoff = 0, voff = 5    72         SW&lt;-&gt;NE  NW&lt;-&gt;SE         5       0</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment">      NW    11x11  hoff = 0, voff = 0    73                                  5       5</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="comment">      SE    11x11  hoff = 5, voff = 5    74                                  0       0</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="comment">      NE    11x11  hoff = 5, voff = 0    75                                  0       5</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160; </div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a>-&gt;<a class="code" href="class_t_display.html#a0ce29cc370b43313ff15bee9423bf338">ZoomOutFlag</a>)</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    {</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    }</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotSignalBlank,&quot;</span> + AnsiString(HLoc) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VLoc) + <span class="stringliteral">&quot;,&quot;</span> +</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;                                 AnsiString(SpeedTag));</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <span class="keywordflow">if</span>((SpeedTag &gt; 75) || (SpeedTag &lt; 68))</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    {</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keywordflow">throw</span> Exception(<span class="stringliteral">&quot;Error, not a signal in PlotSignalBlank&quot;</span>);</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    }</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keywordflow">if</span>(RHSFlag) <span class="comment">// new for v2.3.0.  Jusrt transpose speedtag numbers so can leave the rest as it is</span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    {</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <span class="keywordflow">if</span>(SpeedTag == 68)</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        {</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;            SpeedTag = 69;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 69)</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        {</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            SpeedTag = 68;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        }</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 70)</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        {</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            SpeedTag = 71;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        }</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 71)</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        {</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;            SpeedTag = 70;</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        }</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 72)</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        {</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;            SpeedTag = 75;</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 73)</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        {</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;            SpeedTag = 74;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        }</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 74)</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;        {</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;            SpeedTag = 73;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;        }</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 75)</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        {</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;            SpeedTag = 72;</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        }</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    }</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="comment">      SpeedTag    HOffset VOffset Graphic  Direction</span></div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="comment">      68              0       0     NS       W-&gt;E         RHSigs   N&lt;-&gt;S   E&lt;-&gt;W   hoff 0, voff 9</span></div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="comment">      69              0       9     NS       E-&gt;W                                       0       0</span></div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="comment">      70              0       0     EW       S-&gt;N                                       9       0</span></div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="comment">      71              9       0     EW       N-&gt;S                                       0       0</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="comment">      72              0       5    Diag     SE-&gt;NW                                      5       0</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="comment">      73              0       0    Diag     SW-&gt;NE                                      5       5</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment">      74              5       5    Diag     NE-&gt;SW                                      0       0</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment">      75              5       0    Diag     NW-&gt;SE                                      0       5</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <span class="keywordtype">int</span> HOffset = 0;</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="keywordflow">if</span>(SpeedTag &gt; 73)</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    {</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        HOffset = 5;</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    }</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 71)</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    {</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        HOffset = 9;</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    }</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    <span class="keywordtype">int</span> VOffset = 0;</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160; </div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <span class="keywordflow">if</span>(SpeedTag == 69)</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    {</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        VOffset = 9;</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    }</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 72)</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    {</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        VOffset = 5;</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    }</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 74)</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    {</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        VOffset = 5;</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    }</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    Graphics::TBitmap *GraphicPtr;</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <span class="keywordflow">if</span>(SpeedTag &gt; 71)</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    {</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        GraphicPtr = <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a6ca519bd7e95d5436c2f7c2886bcb880">bmDiagonalSignalBlank</a>;</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    }</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag &lt; 70)</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    {</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        GraphicPtr = <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a63c9ae8dc09e75ce1e7fcbee848cabc0">bmStraightNSSignalBlank</a>;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    }</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    {</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        GraphicPtr = <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a2072c6206721542f520636a4c9095f9f">bmStraightEWSignalBlank</a>;</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    }</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw(((HLoc - <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a>) * 16) + HOffset, ((VLoc - <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a>) * 16) + VOffset, GraphicPtr);</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="comment">// Update();</span></div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1475);</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;}</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160; </div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160; </div>
<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="class_t_display.html#abb140097c975da97aa53bc3946f3ea31">  380</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#abb140097c975da97aa53bc3946f3ea31">TDisplay::PlotSignalBlankOnBitmap</a>(<span class="keywordtype">int</span> HLoc, <span class="keywordtype">int</span> VLoc, <span class="keywordtype">int</span> SpeedTag, Graphics::TBitmap *Bitmap, <span class="keywordtype">bool</span> RHSFlag)</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;{</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">      straight signals:</span></div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<span class="comment">      N    16x7  hoff = 0, voff = 0    68    RHSigs   N&lt;-&gt;S   E&lt;-&gt;W   hoff 0, voff 9</span></div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<span class="comment">      S    16x7  hoff = 0, voff = 9    69                                  0       0</span></div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;<span class="comment">      W    7x16  hoff = 0, voff = 0    70                                  9       0</span></div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="comment">      E    7x16  hoff = 9, voff = 0    71                                  0       0</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">      diagonal signals</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="comment">      SW    11x11  hoff = 0, voff = 5    72         SW&lt;-&gt;NE  NW&lt;-&gt;SE         5       0</span></div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="comment">      NW    11x11  hoff = 0, voff = 0    73                                  5       5</span></div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="comment">      SE    11x11  hoff = 5, voff = 5    74                                  0       0</span></div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="comment">      NE    11x11  hoff = 5, voff = 0    75                                  0       5</span></div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160; </div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,PlotSignalBlankOnBitmap,&quot;</span> + AnsiString(HLoc) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VLoc) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(SpeedTag));</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <span class="keywordflow">if</span>((SpeedTag &gt; 75) || (SpeedTag &lt; 68))</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    {</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="keywordflow">throw</span> Exception(<span class="stringliteral">&quot;Error, not a signal in PlotSignalBlankOnBitmap&quot;</span>);</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    }</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <span class="keywordflow">if</span>(RHSFlag) <span class="comment">// new for v2.3.0.  Jusrt transpose speedtag numbers so can leave the rest as it is</span></div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    {</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;        <span class="keywordflow">if</span>(SpeedTag == 68)</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        {</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;            SpeedTag = 69;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        }</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 69)</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        {</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;            SpeedTag = 68;</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        }</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 70)</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        {</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;            SpeedTag = 71;</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;        }</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 71)</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;        {</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;            SpeedTag = 70;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        }</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 72)</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        {</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;            SpeedTag = 75;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        }</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 73)</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;        {</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;            SpeedTag = 74;</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        }</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 74)</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        {</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;            SpeedTag = 73;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;        }</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 75)</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        {</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;            SpeedTag = 72;</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;        }</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    }</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;<span class="comment">      SpeedTag    HOffset VOffset Graphic  Direction</span></div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;<span class="comment">      68              0       0     NS       W-&gt;E         RHSigs   N&lt;-&gt;S   E&lt;-&gt;W   hoff 0, voff 9</span></div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;<span class="comment">      69              0       9     NS       E-&gt;W                                       0       0</span></div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<span class="comment">      70              0       0     EW       S-&gt;N                                       9       0</span></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;<span class="comment">      71              9       0     EW       N-&gt;S                                       0       0</span></div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;<span class="comment">      72              0       5    Diag     SE-&gt;NW                                      5       0</span></div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;<span class="comment">      73              0       0    Diag     SW-&gt;NE                                      5       5</span></div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;<span class="comment">      74              5       5    Diag     NE-&gt;SW                                      0       0</span></div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<span class="comment">      75              5       0    Diag     NW-&gt;SE                                      0       5</span></div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    <span class="keywordtype">int</span> HOffset = 0;</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160; </div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    <span class="keywordflow">if</span>(SpeedTag &gt; 73)</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;    {</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;        HOffset = 5;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    }</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 71)</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;    {</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;        HOffset = 9;</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;    }</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;    <span class="keywordtype">int</span> VOffset = 0;</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160; </div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;    <span class="keywordflow">if</span>(SpeedTag == 69)</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;    {</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;        VOffset = 9;</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;    }</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 72)</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    {</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;        VOffset = 5;</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    }</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag == 74)</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    {</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;        VOffset = 5;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    }</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    Graphics::TBitmap *GraphicPtr;</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; </div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;    <span class="keywordflow">if</span>(SpeedTag &gt; 71)</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    {</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;        GraphicPtr = <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a6ca519bd7e95d5436c2f7c2886bcb880">bmDiagonalSignalBlank</a>;</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;    }</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>(SpeedTag &lt; 70)</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;    {</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;        GraphicPtr = <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a63c9ae8dc09e75ce1e7fcbee848cabc0">bmStraightNSSignalBlank</a>;</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;    }</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    {</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        GraphicPtr = <a class="code" href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a>-&gt;<a class="code" href="class_t_rail_graphics.html#a2072c6206721542f520636a4c9095f9f">bmStraightEWSignalBlank</a>;</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;    }</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    Bitmap-&gt;Canvas-&gt;Draw(((HLoc - <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a>) * 16) + HOffset, ((VLoc - <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a>) * 16) + VOffset, GraphicPtr);</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;<span class="comment">// Update();</span></div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1870);</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;}</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160; </div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160; </div>
<div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="class_t_display.html#a7dae1c6470743a7cb778a6f813c7f0cc">  491</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a7dae1c6470743a7cb778a6f813c7f0cc">TDisplay::PlotAbsolute</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos, Graphics::TBitmap *PlotItem)</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;{</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotAbsolute,&quot;</span> + AnsiString(HPos) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(VPos));</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Draw(HPos, VPos, PlotItem);</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;<span class="comment">// Update();</span></div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1477);</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;}</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160; </div>
<div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="class_t_display.html#a09a60665a7a8c7b5d5c705a08086feec">  501</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a09a60665a7a8c7b5d5c705a08086feec">TDisplay::PlotDashedRect</a>(<span class="keywordtype">int</span> Caller, TRect Rect)</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;{</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,PlotDashedRect,&quot;</span> + AnsiString(Rect.left) + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Rect.top));</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Style = psDot;</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Width = 1;</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a89b8716bbc78332d40427ed688ce56bd">clTransparent</a> == <a class="code" href="_graphic_unit_8h.html#a5a252ce29dda0ebeaba8cbd3cb2ac4e5">clB5G5R5</a>)</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;    {</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Color = <a class="code" href="_graphic_unit_8h.html#a8958d0a4fdeb286d421bfd3f8e655406">clB0G0R0</a>; <span class="comment">// black</span></div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    }</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    {</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;        <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Pen-&gt;Color = <a class="code" href="_graphic_unit_8h.html#a5a252ce29dda0ebeaba8cbd3cb2ac4e5">clB5G5R5</a>; <span class="comment">// white</span></div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;    }</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Brush-&gt;Style = bsClear;</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    <a class="code" href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">Output</a>-&gt;Canvas-&gt;Rectangle((Rect.left - <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a>) * 16, (Rect.top - <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a>) * 16, (Rect.right - <a class="code" href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">DisplayOffsetH</a>) * 16,</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;                              (Rect.bottom - <a class="code" href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">DisplayOffsetV</a>) * 16);</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;<span class="comment">// Update();</span></div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1478);</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;}</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; </div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; </div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;<span class="comment">// relocated PerformanceLog function to PerfLogForm at v2.13.0 when created new performance log form</span></div>
<div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="class_t_display.html#a604d491a723df459bdcd54a4b9d1d9f2">  524</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#a604d491a723df459bdcd54a4b9d1d9f2">TDisplay::WarningLog</a>(<span class="keywordtype">int</span> Caller, AnsiString Statement)  <span class="comment">//also used for Reminders at v2.19.0</span></div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;{</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,WarningLog,&quot;</span> + Statement);</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;    <a class="code" href="_train_unit_8cpp.html#a1fc9c10426306f606bcb069d6cef9521">TrainController</a>-&gt;<a class="code" href="class_t_train_controller.html#a4cb4f95016d09ccf3007ede186474e09">StopTTClockFlag</a> = <span class="keyword">true</span>; <span class="comment">// so TTClock stopped during MasterClockTimer function - because of the beeps, added at v2.19.0</span></div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;    <a class="code" href="_train_unit_8cpp.html#a1fc9c10426306f606bcb069d6cef9521">TrainController</a>-&gt;<a class="code" href="class_t_train_controller.html#a7d7dc55374ee043f1045b1d4ff91853f">RestartTime</a> = <a class="code" href="_train_unit_8cpp.html#a1fc9c10426306f606bcb069d6cef9521">TrainController</a>-&gt;<a class="code" href="class_t_train_controller.html#a0c0b9d01dd9e1515017b629ebf1a98f1">TTClockTime</a>;</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    <a class="code" href="class_t_display.html#a3adf5d70fb01209e746cb3cd490294b4">OutputLog6</a>-&gt;Caption = <a class="code" href="class_t_display.html#a1b134b87e594c2cd261210023fd11161">OutputLog7</a>-&gt;Caption;</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;    <a class="code" href="class_t_display.html#a1b134b87e594c2cd261210023fd11161">OutputLog7</a>-&gt;Caption = <a class="code" href="class_t_display.html#a9de95aeb0787e6c535cf6622b3a87d8d">OutputLog8</a>-&gt;Caption;</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;    <a class="code" href="class_t_display.html#a9de95aeb0787e6c535cf6622b3a87d8d">OutputLog8</a>-&gt;Caption = <a class="code" href="class_t_display.html#a5bf597b689a283f16b1aae5fe79ad2ec">OutputLog9</a>-&gt;Caption;</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;    <a class="code" href="class_t_display.html#a5bf597b689a283f16b1aae5fe79ad2ec">OutputLog9</a>-&gt;Caption = <a class="code" href="class_t_display.html#afc194f2bc9eda7fe8de600098c85d2ac">OutputLog10</a>-&gt;Caption;</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;    <a class="code" href="class_t_display.html#afc194f2bc9eda7fe8de600098c85d2ac">OutputLog10</a>-&gt;Caption = <a class="code" href="class_t_display.html#a62d6c2b2040a469fb6eb6177a8acc1f2">OutputLog1</a>-&gt;Caption;</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    <a class="code" href="class_t_display.html#a62d6c2b2040a469fb6eb6177a8acc1f2">OutputLog1</a>-&gt;Caption = <a class="code" href="class_t_display.html#ad7a9ab1d203557810bdbfe39fad79855">OutputLog2</a>-&gt;Caption;</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;    <a class="code" href="class_t_display.html#ad7a9ab1d203557810bdbfe39fad79855">OutputLog2</a>-&gt;Caption = <a class="code" href="class_t_display.html#ae099b334095873971b46f5c4c5e0bd2e">OutputLog3</a>-&gt;Caption;</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    <a class="code" href="class_t_display.html#ae099b334095873971b46f5c4c5e0bd2e">OutputLog3</a>-&gt;Caption = <a class="code" href="class_t_display.html#a4084cb29429480cfe74c86d84e376009">OutputLog4</a>-&gt;Caption;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;    <a class="code" href="class_t_display.html#a4084cb29429480cfe74c86d84e376009">OutputLog4</a>-&gt;Caption = <a class="code" href="class_t_display.html#af5ac89214b13057a1bf2dae88b3dac96">OutputLog5</a>-&gt;Caption;</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;    <a class="code" href="class_t_display.html#af5ac89214b13057a1bf2dae88b3dac96">OutputLog5</a>-&gt;Caption = Statement;</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;    Beep(1000, 200);       <span class="comment">//these added at v2.19.0</span></div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;    Beep(1000, 200);</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;    Beep(1000, 200);</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;    <a class="code" href="_train_unit_8cpp.html#a1fc9c10426306f606bcb069d6cef9521">TrainController</a>-&gt;<a class="code" href="class_t_train_controller.html#a8c574abde256f87d43b7cce8b9024fd9">BaseTime</a> = TDateTime::CurrentDateTime();</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    <a class="code" href="_train_unit_8cpp.html#a1fc9c10426306f606bcb069d6cef9521">TrainController</a>-&gt;<a class="code" href="class_t_train_controller.html#a4cb4f95016d09ccf3007ede186474e09">StopTTClockFlag</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;   <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1785);</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;}</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160; </div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160; </div>
<div class="line"><a name="l00549"></a><span class="lineno"><a class="line" href="class_t_display.html#ab77f8f220d8c0f3fbdcc96a616b969e6">  549</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#ab77f8f220d8c0f3fbdcc96a616b969e6">TDisplay::HideWarningLog</a>(<span class="keywordtype">int</span> Caller)</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;{</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,HideWarningLog&quot;</span>);</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;    <a class="code" href="class_t_display.html#a3adf5d70fb01209e746cb3cd490294b4">OutputLog6</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;    <a class="code" href="class_t_display.html#a1b134b87e594c2cd261210023fd11161">OutputLog7</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;    <a class="code" href="class_t_display.html#a9de95aeb0787e6c535cf6622b3a87d8d">OutputLog8</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;    <a class="code" href="class_t_display.html#a5bf597b689a283f16b1aae5fe79ad2ec">OutputLog9</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    <a class="code" href="class_t_display.html#afc194f2bc9eda7fe8de600098c85d2ac">OutputLog10</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;    <a class="code" href="class_t_display.html#a62d6c2b2040a469fb6eb6177a8acc1f2">OutputLog1</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    <a class="code" href="class_t_display.html#ad7a9ab1d203557810bdbfe39fad79855">OutputLog2</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;    <a class="code" href="class_t_display.html#ae099b334095873971b46f5c4c5e0bd2e">OutputLog3</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;    <a class="code" href="class_t_display.html#a4084cb29429480cfe74c86d84e376009">OutputLog4</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;    <a class="code" href="class_t_display.html#af5ac89214b13057a1bf2dae88b3dac96">OutputLog5</a>-&gt;Visible = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1873);</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;}</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160; </div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160; </div>
<div class="line"><a name="l00567"></a><span class="lineno"><a class="line" href="class_t_display.html#aece63da07b7586b62115eeb81c7e2b57">  567</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_display.html#aece63da07b7586b62115eeb81c7e2b57">TDisplay::ShowWarningLog</a>(<span class="keywordtype">int</span> Caller)</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;{</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">CallLog</a>.push_back(<a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TimeStamp</a>() + <span class="stringliteral">&quot;,&quot;</span> + AnsiString(Caller) + <span class="stringliteral">&quot;,ShowWarningLog&quot;</span>);</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;    <a class="code" href="class_t_display.html#a3adf5d70fb01209e746cb3cd490294b4">OutputLog6</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;    <a class="code" href="class_t_display.html#a1b134b87e594c2cd261210023fd11161">OutputLog7</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;    <a class="code" href="class_t_display.html#a9de95aeb0787e6c535cf6622b3a87d8d">OutputLog8</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;    <a class="code" href="class_t_display.html#a5bf597b689a283f16b1aae5fe79ad2ec">OutputLog9</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;    <a class="code" href="class_t_display.html#afc194f2bc9eda7fe8de600098c85d2ac">OutputLog10</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;    <a class="code" href="class_t_display.html#a62d6c2b2040a469fb6eb6177a8acc1f2">OutputLog1</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    <a class="code" href="class_t_display.html#ad7a9ab1d203557810bdbfe39fad79855">OutputLog2</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;    <a class="code" href="class_t_display.html#ae099b334095873971b46f5c4c5e0bd2e">OutputLog3</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;    <a class="code" href="class_t_display.html#a4084cb29429480cfe74c86d84e376009">OutputLog4</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    <a class="code" href="class_t_display.html#af5ac89214b13057a1bf2dae88b3dac96">OutputLog5</a>-&gt;Visible = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;    <a class="code" href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a>-&gt;<a class="code" href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">CallLogPop</a>(1874);</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;}</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160; </div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_t_user_graphic_item_html_a1030e112811e13f2d740d2ee964a3a9f"><div class="ttname"><a href="class_t_user_graphic_item.html#a1030e112811e13f2d740d2ee964a3a9f">TUserGraphicItem::UserGraphic</a></div><div class="ttdeci">TPicture * UserGraphic</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00037">DisplayUnit.h:37</a></div></div>
<div class="ttc" id="aclass_t_rail_graphics_html_a8edd1550f94d08a5125de2b182428081"><div class="ttname"><a href="class_t_rail_graphics.html#a8edd1550f94d08a5125de2b182428081">TRailGraphics::bmPointBlank</a></div><div class="ttdeci">Graphics::TBitmap * bmPointBlank</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l01029">GraphicUnit.h:1029</a></div></div>
<div class="ttc" id="aclass_t_display_html_aef050e7f3b440542a12bbccd27bcd99d"><div class="ttname"><a href="class_t_display.html#aef050e7f3b440542a12bbccd27bcd99d">TDisplay::DisplayOffsetHHome</a></div><div class="ttdeci">static int DisplayOffsetHHome</div><div class="ttdoc">the horizontal offset of the 'Home' display</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00081">DisplayUnit.h:81</a></div></div>
<div class="ttc" id="aclass_t_display_html_a3adf5d70fb01209e746cb3cd490294b4"><div class="ttname"><a href="class_t_display.html#a3adf5d70fb01209e746cb3cd490294b4">TDisplay::OutputLog6</a></div><div class="ttdeci">TLabel *&amp; OutputLog6</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00061">DisplayUnit.h:61</a></div></div>
<div class="ttc" id="a_display_unit_8h_html"><div class="ttname"><a href="_display_unit_8h.html">DisplayUnit.h</a></div></div>
<div class="ttc" id="aclass_t_display_html_a63930b93b9883463cd9d779e86fefba2"><div class="ttname"><a href="class_t_display.html#a63930b93b9883463cd9d779e86fefba2">TDisplay::InvertElement</a></div><div class="ttdeci">void InvertElement(int Caller, int HPos, int VPos)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00144">DisplayUnit.cpp:144</a></div></div>
<div class="ttc" id="aclass_t_display_html_a5bf597b689a283f16b1aae5fe79ad2ec"><div class="ttname"><a href="class_t_display.html#a5bf597b689a283f16b1aae5fe79ad2ec">TDisplay::OutputLog9</a></div><div class="ttdeci">TLabel *&amp; OutputLog9</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00064">DisplayUnit.h:64</a></div></div>
<div class="ttc" id="aclass_t_display_html_a8d990507ae0111e0b7890e8aa77fd76d"><div class="ttname"><a href="class_t_display.html#a8d990507ae0111e0b7890e8aa77fd76d">TDisplay::ClearDisplay</a></div><div class="ttdeci">void ClearDisplay(int Caller)</div><div class="ttdoc">Empty the display.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00185">DisplayUnit.cpp:185</a></div></div>
<div class="ttc" id="aclass_t_user_graphic_item_html_ad50f7c3baaef1bf56f34c3059f665320"><div class="ttname"><a href="class_t_user_graphic_item.html#ad50f7c3baaef1bf56f34c3059f665320">TUserGraphicItem::VPos</a></div><div class="ttdeci">int VPos</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00035">DisplayUnit.h:35</a></div></div>
<div class="ttc" id="a_utilities_8h_html"><div class="ttname"><a href="_utilities_8h.html">Utilities.h</a></div></div>
<div class="ttc" id="aclass_t_display_html_aa4f37ab2a4df6437a2219f303e1de40b"><div class="ttname"><a href="class_t_display.html#aa4f37ab2a4df6437a2219f303e1de40b">TDisplay::Update</a></div><div class="ttdeci">void Update()</div><div class="ttdoc">Repaint the screen display.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00222">DisplayUnit.h:222</a></div></div>
<div class="ttc" id="aclass_t_user_graphic_item_html_ae91c3159a272b27570a71d77f9967ed3"><div class="ttname"><a href="class_t_user_graphic_item.html#ae91c3159a272b27570a71d77f9967ed3">TUserGraphicItem::HPos</a></div><div class="ttdeci">int HPos</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00035">DisplayUnit.h:35</a></div></div>
<div class="ttc" id="aclass_t_display_html_a4084cb29429480cfe74c86d84e376009"><div class="ttname"><a href="class_t_display.html#a4084cb29429480cfe74c86d84e376009">TDisplay::OutputLog4</a></div><div class="ttdeci">TLabel *&amp; OutputLog4</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00059">DisplayUnit.h:59</a></div></div>
<div class="ttc" id="aclass_t_display_html_a6f11e4ccff893eef6ab624a7430974c3"><div class="ttname"><a href="class_t_display.html#a6f11e4ccff893eef6ab624a7430974c3">TDisplay::DisplayOffsetV</a></div><div class="ttdeci">static int DisplayOffsetV</div><div class="ttdoc">the vertical offset of the displayed screen (as viewpoint moves down [railway moves up] this offset i...</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00079">DisplayUnit.h:79</a></div></div>
<div class="ttc" id="aclass_t_train_controller_html_a8c574abde256f87d43b7cce8b9024fd9"><div class="ttname"><a href="class_t_train_controller.html#a8c574abde256f87d43b7cce8b9024fd9">TTrainController::BaseTime</a></div><div class="ttdeci">TDateTime BaseTime</div><div class="ttdoc">CurrentDateTime (i.e. real time) when operation restarts after a pause.</div><div class="ttdef"><b>Definition:</b> <a href="_train_unit_8h_source.html#l00754">TrainUnit.h:754</a></div></div>
<div class="ttc" id="aclass_t_user_graphic_item_html"><div class="ttname"><a href="class_t_user_graphic_item.html">TUserGraphicItem</a></div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00031">DisplayUnit.h:32</a></div></div>
<div class="ttc" id="a_display_unit_8cpp_html_a61e2ec8265e2b954974bc4da5d078542"><div class="ttname"><a href="_display_unit_8cpp.html#a61e2ec8265e2b954974bc4da5d078542">StaticFeaturesDisplay</a></div><div class="ttdeci">TDisplay * StaticFeaturesDisplay</div><div class="ttdoc">The object pointer for track, text &amp; graphics only for replacing the text of long service references.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00056">DisplayUnit.cpp:56</a></div></div>
<div class="ttc" id="aclass_t_rail_graphics_html_ab497983d1bc5230e83e71688012fda96"><div class="ttname"><a href="class_t_rail_graphics.html#ab497983d1bc5230e83e71688012fda96">TRailGraphics::bmSolidBgnd</a></div><div class="ttdeci">Graphics::TBitmap * bmSolidBgnd</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l01026">GraphicUnit.h:1026</a></div></div>
<div class="ttc" id="a_utilities_8cpp_html_a69ecaeba7a18032cf8a1d212b92d94f8"><div class="ttname"><a href="_utilities_8cpp.html#a69ecaeba7a18032cf8a1d212b92d94f8">Utilities</a></div><div class="ttdeci">TUtilities * Utilities</div><div class="ttdef"><b>Definition:</b> <a href="_utilities_8cpp_source.html#l00047">Utilities.cpp:47</a></div></div>
<div class="ttc" id="aclass_t_display_html_aece63da07b7586b62115eeb81c7e2b57"><div class="ttname"><a href="class_t_display.html#aece63da07b7586b62115eeb81c7e2b57">TDisplay::ShowWarningLog</a></div><div class="ttdeci">void ShowWarningLog(int Caller)</div><div class="ttdoc">Show the warnings after timetable clock adjusted.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00567">DisplayUnit.cpp:567</a></div></div>
<div class="ttc" id="aclass_t_display_html_a758f553cef2eb9b3eee4d491454a7da9"><div class="ttname"><a href="class_t_display.html#a758f553cef2eb9b3eee4d491454a7da9">TDisplay::DisplayZoomOutOffsetVHome</a></div><div class="ttdeci">static int DisplayZoomOutOffsetVHome</div><div class="ttdoc">the vertical offset of the zoomed-out 'Home' display</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00091">DisplayUnit.h:91</a></div></div>
<div class="ttc" id="aclass_t_display_html_a0ce29cc370b43313ff15bee9423bf338"><div class="ttname"><a href="class_t_display.html#a0ce29cc370b43313ff15bee9423bf338">TDisplay::ZoomOutFlag</a></div><div class="ttdeci">bool ZoomOutFlag</div><div class="ttdoc">true when zoomed-out</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00070">DisplayUnit.h:70</a></div></div>
<div class="ttc" id="aclass_t_utilities_html_ae1eddca13cc3c492839e131f40ec21c0"><div class="ttname"><a href="class_t_utilities.html#ae1eddca13cc3c492839e131f40ec21c0">TUtilities::CallLogPop</a></div><div class="ttdeci">void CallLogPop(int Caller)</div><div class="ttdoc">pops the last entry off the call stack, throws an error if called when empty</div><div class="ttdef"><b>Definition:</b> <a href="_utilities_8cpp_source.html#l00050">Utilities.cpp:50</a></div></div>
<div class="ttc" id="aclass_t_display_html_a9ab49e52c7eb92b32ae2c34547183439"><div class="ttname"><a href="class_t_display.html#a9ab49e52c7eb92b32ae2c34547183439">TDisplay::PlotOutput</a></div><div class="ttdeci">void PlotOutput(int Caller, int HPos, int VPos, Graphics::TBitmap *PlotItem)</div><div class="ttdoc">Plot the graphic at screen position HPos &amp; VPos.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00087">DisplayUnit.cpp:87</a></div></div>
<div class="ttc" id="a_train_unit_8cpp_html_a1fc9c10426306f606bcb069d6cef9521"><div class="ttname"><a href="_train_unit_8cpp.html#a1fc9c10426306f606bcb069d6cef9521">TrainController</a></div><div class="ttdeci">TTrainController * TrainController</div><div class="ttdoc">the object pointer, one object only - created in InterfaceUnit</div><div class="ttdef"><b>Definition:</b> <a href="_train_unit_8cpp_source.html#l00056">TrainUnit.cpp:56</a></div></div>
<div class="ttc" id="aclass_t_display_html_a7dae1c6470743a7cb778a6f813c7f0cc"><div class="ttname"><a href="class_t_display.html#a7dae1c6470743a7cb778a6f813c7f0cc">TDisplay::PlotAbsolute</a></div><div class="ttdeci">void PlotAbsolute(int Caller, int HPos, int VPos, Graphics::TBitmap *PlotItem)</div><div class="ttdoc">Plot the graphic at the railway (not screen) position set by HPos &amp; VPos.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00491">DisplayUnit.cpp:491</a></div></div>
<div class="ttc" id="aclass_t_display_html_abb140097c975da97aa53bc3946f3ea31"><div class="ttname"><a href="class_t_display.html#abb140097c975da97aa53bc3946f3ea31">TDisplay::PlotSignalBlankOnBitmap</a></div><div class="ttdeci">void PlotSignalBlankOnBitmap(int HLoc, int VLoc, int SpeedTag, Graphics::TBitmap *Bitmap, bool RHSFlag)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00380">DisplayUnit.cpp:380</a></div></div>
<div class="ttc" id="aclass_t_display_html_a0e442bbdf413812064b3d0d200261cbc"><div class="ttname"><a href="class_t_display.html#a0e442bbdf413812064b3d0d200261cbc">TDisplay::Output</a></div><div class="ttdeci">TImage *&amp; Output</div><div class="ttdoc">pointer to the 60 x 36 element railway display area</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00053">DisplayUnit.h:53</a></div></div>
<div class="ttc" id="aclass_t_train_controller_html_a4cb4f95016d09ccf3007ede186474e09"><div class="ttname"><a href="class_t_train_controller.html#a4cb4f95016d09ccf3007ede186474e09">TTrainController::StopTTClockFlag</a></div><div class="ttdeci">bool StopTTClockFlag</div><div class="ttdoc">when true the timetable clock is stopped, used for messages display and train popup menu display etc</div><div class="ttdef"><b>Definition:</b> <a href="_train_unit_8h_source.html#l00849">TrainUnit.h:849</a></div></div>
<div class="ttc" id="aclass_t_display_html_a1b134b87e594c2cd261210023fd11161"><div class="ttname"><a href="class_t_display.html#a1b134b87e594c2cd261210023fd11161">TDisplay::OutputLog7</a></div><div class="ttdeci">TLabel *&amp; OutputLog7</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00062">DisplayUnit.h:62</a></div></div>
<div class="ttc" id="aclass_t_display_html_ad7a9ab1d203557810bdbfe39fad79855"><div class="ttname"><a href="class_t_display.html#ad7a9ab1d203557810bdbfe39fad79855">TDisplay::OutputLog2</a></div><div class="ttdeci">TLabel *&amp; OutputLog2</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00057">DisplayUnit.h:57</a></div></div>
<div class="ttc" id="aclass_t_display_html_a62d6c2b2040a469fb6eb6177a8acc1f2"><div class="ttname"><a href="class_t_display.html#a62d6c2b2040a469fb6eb6177a8acc1f2">TDisplay::OutputLog1</a></div><div class="ttdeci">TLabel *&amp; OutputLog1</div><div class="ttdoc">Pointers to the warning message logs (appear above the railway display during operation)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00055">DisplayUnit.h:55</a></div></div>
<div class="ttc" id="a_display_unit_8cpp_html_ac66976d8ed5bd3bb0a02dedc13b82bd7"><div class="ttname"><a href="_display_unit_8cpp.html#ac66976d8ed5bd3bb0a02dedc13b82bd7">HiddenDisplay</a></div><div class="ttdeci">TDisplay * HiddenDisplay</div><div class="ttdoc">The object pointer for the internal hidden display, object created in InterfaceUnit.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00055">DisplayUnit.cpp:55</a></div></div>
<div class="ttc" id="aclass_t_utilities_html_a89b8716bbc78332d40427ed688ce56bd"><div class="ttname"><a href="class_t_utilities.html#a89b8716bbc78332d40427ed688ce56bd">TUtilities::clTransparent</a></div><div class="ttdeci">TColor clTransparent</div><div class="ttdoc">the display background colour, can be white, black or dark blue</div><div class="ttdef"><b>Definition:</b> <a href="_utilities_8h_source.html#l00121">Utilities.h:121</a></div></div>
<div class="ttc" id="aclass_t_rail_graphics_html_a2072c6206721542f520636a4c9095f9f"><div class="ttname"><a href="class_t_rail_graphics.html#a2072c6206721542f520636a4c9095f9f">TRailGraphics::bmStraightEWSignalBlank</a></div><div class="ttdeci">Graphics::TBitmap * bmStraightEWSignalBlank</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l01030">GraphicUnit.h:1030</a></div></div>
<div class="ttc" id="aclass_t_display_html_a9de95aeb0787e6c535cf6622b3a87d8d"><div class="ttname"><a href="class_t_display.html#a9de95aeb0787e6c535cf6622b3a87d8d">TDisplay::OutputLog8</a></div><div class="ttdeci">TLabel *&amp; OutputLog8</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00063">DisplayUnit.h:63</a></div></div>
<div class="ttc" id="aclass_t_display_html_aab35e517eba56f1c95f500958ce431ae"><div class="ttname"><a href="class_t_display.html#aab35e517eba56f1c95f500958ce431ae">TDisplay::PlotPointBlank</a></div><div class="ttdeci">void PlotPointBlank(int Caller, int HLoc, int VLoc)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00249">DisplayUnit.cpp:249</a></div></div>
<div class="ttc" id="a_graphic_unit_8h_html_a5a252ce29dda0ebeaba8cbd3cb2ac4e5"><div class="ttname"><a href="_graphic_unit_8h.html#a5a252ce29dda0ebeaba8cbd3cb2ac4e5">clB5G5R5</a></div><div class="ttdeci">#define clB5G5R5</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l00288">GraphicUnit.h:287</a></div></div>
<div class="ttc" id="aclass_t_utilities_html_a34bd6bb5305bc29afdf424f6d35a921c"><div class="ttname"><a href="class_t_utilities.html#a34bd6bb5305bc29afdf424f6d35a921c">TUtilities::TimeStamp</a></div><div class="ttdeci">AnsiString TimeStamp()</div><div class="ttdoc">creates a string of the form 'hh:mm:ss' for use in call &amp; event logging</div><div class="ttdef"><b>Definition:</b> <a href="_utilities_8cpp_source.html#l00073">Utilities.cpp:73</a></div></div>
<div class="ttc" id="aclass_t_display_html_ab77f8f220d8c0f3fbdcc96a616b969e6"><div class="ttname"><a href="class_t_display.html#ab77f8f220d8c0f3fbdcc96a616b969e6">TDisplay::HideWarningLog</a></div><div class="ttdeci">void HideWarningLog(int Caller)</div><div class="ttdoc">Hide all the warnings from the top part of the screen - for timetable clock adjustment.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00549">DisplayUnit.cpp:549</a></div></div>
<div class="ttc" id="aclass_t_display_html"><div class="ttname"><a href="class_t_display.html">TDisplay</a></div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00049">DisplayUnit.h:50</a></div></div>
<div class="ttc" id="aclass_t_display_html_a2b408bc588565f7b0cdcb85edc7479b7"><div class="ttname"><a href="class_t_display.html#a2b408bc588565f7b0cdcb85edc7479b7">TDisplay::GetRectangle</a></div><div class="ttdeci">void GetRectangle(int Caller, TRect DestRect, TRect SourceRect, Graphics::TBitmap *&amp;OriginalGraphic)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00229">DisplayUnit.cpp:229</a></div></div>
<div class="ttc" id="aclass_t_train_controller_html_a7d7dc55374ee043f1045b1d4ff91853f"><div class="ttname"><a href="class_t_train_controller.html#a7d7dc55374ee043f1045b1d4ff91853f">TTrainController::RestartTime</a></div><div class="ttdeci">TDateTime RestartTime</div><div class="ttdoc">TTClockTime when operation pauses ( = timetable start time prior to operation) TTClockTime is calcula...</div><div class="ttdef"><b>Definition:</b> <a href="_train_unit_8h_source.html#l00760">TrainUnit.h:760</a></div></div>
<div class="ttc" id="a_graphic_unit_8h_html"><div class="ttname"><a href="_graphic_unit_8h.html">GraphicUnit.h</a></div></div>
<div class="ttc" id="aclass_t_display_html_a3c63a18e8901299ab56176c034072b1c"><div class="ttname"><a href="class_t_display.html#a3c63a18e8901299ab56176c034072b1c">TDisplay::DisplayZoomOutOffsetV</a></div><div class="ttdeci">static int DisplayZoomOutOffsetV</div><div class="ttdoc">the verticalal offset of the zoomed-out display</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00087">DisplayUnit.h:87</a></div></div>
<div class="ttc" id="aclass_t_display_html_af5ac89214b13057a1bf2dae88b3dac96"><div class="ttname"><a href="class_t_display.html#af5ac89214b13057a1bf2dae88b3dac96">TDisplay::OutputLog5</a></div><div class="ttdeci">TLabel *&amp; OutputLog5</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00060">DisplayUnit.h:60</a></div></div>
<div class="ttc" id="aclass_t_display_html_a09a60665a7a8c7b5d5c705a08086feec"><div class="ttname"><a href="class_t_display.html#a09a60665a7a8c7b5d5c705a08086feec">TDisplay::PlotDashedRect</a></div><div class="ttdeci">void PlotDashedRect(int Caller, TRect Rect)</div><div class="ttdoc">Plot a dashed rectangle for the area defined by Rect, used when selecting display areas.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00501">DisplayUnit.cpp:501</a></div></div>
<div class="ttc" id="aclass_t_display_html_aa26d2bf6d6d14ad1c853f81f06f25121"><div class="ttname"><a href="class_t_display.html#aa26d2bf6d6d14ad1c853f81f06f25121">TDisplay::DisplayZoomOutOffsetH</a></div><div class="ttdeci">static int DisplayZoomOutOffsetH</div><div class="ttdoc">the horizontal offset of the zoomed-out display</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00085">DisplayUnit.h:85</a></div></div>
<div class="ttc" id="a_display_unit_8cpp_html_aa781ea2de39397559c589e8db60300c7"><div class="ttname"><a href="_display_unit_8cpp.html#aa781ea2de39397559c589e8db60300c7">Display</a></div><div class="ttdeci">TDisplay * Display</div><div class="ttdoc">The object pointer for the on-screen display, object created in InterfaceUnit.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00054">DisplayUnit.cpp:54</a></div></div>
<div class="ttc" id="aclass_t_display_html_ac97de4f74b0b295de941320578d6da28"><div class="ttname"><a href="class_t_display.html#ac97de4f74b0b295de941320578d6da28">TDisplay::Ellipse</a></div><div class="ttdeci">void Ellipse(int Caller, int HPos, int VPos, TColor Col)</div><div class="ttdoc">Plot an ellipse at the defined position and with the defined colour.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00125">DisplayUnit.cpp:125</a></div></div>
<div class="ttc" id="aclass_t_display_html_adfff17bfef798b07b1e6bbfc6f5e0822"><div class="ttname"><a href="class_t_display.html#adfff17bfef798b07b1e6bbfc6f5e0822">TDisplay::TextOut</a></div><div class="ttdeci">void TextOut(int Caller, int HPos, int VPos, AnsiString TextString, TFont *Font)</div><div class="ttdoc">Display TextString at the defined position with the defined font.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00195">DisplayUnit.cpp:195</a></div></div>
<div class="ttc" id="aclass_t_rail_graphics_html_a63c9ae8dc09e75ce1e7fcbee848cabc0"><div class="ttname"><a href="class_t_rail_graphics.html#a63c9ae8dc09e75ce1e7fcbee848cabc0">TRailGraphics::bmStraightNSSignalBlank</a></div><div class="ttdeci">Graphics::TBitmap * bmStraightNSSignalBlank</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l01031">GraphicUnit.h:1031</a></div></div>
<div class="ttc" id="aclass_t_display_html_a6e970089a9419e6bdd12576b6e860c95"><div class="ttname"><a href="class_t_display.html#a6e970089a9419e6bdd12576b6e860c95">TDisplay::PlotSignalBlank</a></div><div class="ttdeci">void PlotSignalBlank(int Caller, int HLoc, int VLoc, int SpeedTag, bool RHSFlag)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00263">DisplayUnit.cpp:263</a></div></div>
<div class="ttc" id="aclass_t_display_html_a9a9f37c50df125f2543f251460caf841"><div class="ttname"><a href="class_t_display.html#a9a9f37c50df125f2543f251460caf841">TDisplay::DisplayOffsetH</a></div><div class="ttdeci">static int DisplayOffsetH</div><div class="ttdoc">the horizontal offset of the displayed screen (as viewpoint moves to the right [railway moves left] t...</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00077">DisplayUnit.h:77</a></div></div>
<div class="ttc" id="aclass_t_display_html_a604d491a723df459bdcd54a4b9d1d9f2"><div class="ttname"><a href="class_t_display.html#a604d491a723df459bdcd54a4b9d1d9f2">TDisplay::WarningLog</a></div><div class="ttdeci">void WarningLog(int Caller, AnsiString Statement)</div><div class="ttdoc">Display warning message Statement in the bottom left hand warning position and scroll other messages ...</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00524">DisplayUnit.cpp:524</a></div></div>
<div class="ttc" id="aclass_t_rail_graphics_html_a6ca519bd7e95d5436c2f7c2886bcb880"><div class="ttname"><a href="class_t_rail_graphics.html#a6ca519bd7e95d5436c2f7c2886bcb880">TRailGraphics::bmDiagonalSignalBlank</a></div><div class="ttdeci">Graphics::TBitmap * bmDiagonalSignalBlank</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l01028">GraphicUnit.h:1028</a></div></div>
<div class="ttc" id="aclass_t_train_controller_html_a0c0b9d01dd9e1515017b629ebf1a98f1"><div class="ttname"><a href="class_t_train_controller.html#a0c0b9d01dd9e1515017b629ebf1a98f1">TTrainController::TTClockTime</a></div><div class="ttdeci">TDateTime TTClockTime</div><div class="ttdoc">the time indicated by the timetable clock</div><div class="ttdef"><b>Definition:</b> <a href="_train_unit_8h_source.html#l00756">TrainUnit.h:756</a></div></div>
<div class="ttc" id="aclass_t_utilities_html_abf6c3e70d5fbf58720ff0d9f80de5bde"><div class="ttname"><a href="class_t_utilities.html#abf6c3e70d5fbf58720ff0d9f80de5bde">TUtilities::CallLog</a></div><div class="ttdeci">std::deque&lt; AnsiString &gt; CallLog</div><div class="ttdoc">call stack store, saved to the errorlog for diagnostic purposes</div><div class="ttdef"><b>Definition:</b> <a href="_utilities_8h_source.html#l00111">Utilities.h:111</a></div></div>
<div class="ttc" id="aclass_t_display_html_ab34b9c853e7e348cce8e9c19507d9f04"><div class="ttname"><a href="class_t_display.html#ab34b9c853e7e348cce8e9c19507d9f04">TDisplay::TDisplay</a></div><div class="ttdeci">TDisplay(TImage *&amp;Image, TLabel *&amp;L1, TLabel *&amp;L2, TLabel *&amp;L3, TLabel *&amp;L4, TLabel *&amp;L5, TLabel *&amp;L6, TLabel *&amp;L7, TLabel *&amp;L8, TLabel *&amp;L9, TLabel *&amp;L10)</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00069">DisplayUnit.cpp:69</a></div></div>
<div class="ttc" id="aclass_t_display_html_a39cee11613d156de0d1f5df923a02c8d"><div class="ttname"><a href="class_t_display.html#a39cee11613d156de0d1f5df923a02c8d">TDisplay::Width</a></div><div class="ttdeci">int Width()</div><div class="ttdoc">Return the width of the screen.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00127">DisplayUnit.h:127</a></div></div>
<div class="ttc" id="aclass_t_display_html_a60756c55ee44db2e876d0419417b9e25"><div class="ttname"><a href="class_t_display.html#a60756c55ee44db2e876d0419417b9e25">TDisplay::PlotAndAddUserGraphic</a></div><div class="ttdeci">void PlotAndAddUserGraphic(int Caller, TUserGraphicItem UserGraphicItem)</div><div class="ttdoc">Plot user graphic.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00101">DisplayUnit.cpp:101</a></div></div>
<div class="ttc" id="aclass_t_display_html_a95aaa80515f0abb7715920b326b318dd"><div class="ttname"><a href="class_t_display.html#a95aaa80515f0abb7715920b326b318dd">TDisplay::PlotSmallOutput</a></div><div class="ttdeci">void PlotSmallOutput(int Caller, int HPos, int VPos, Graphics::TBitmap *PlotItem)</div><div class="ttdoc">Plot small (4x4) graphic PlotItem on the zoomed-out display at HPos &amp; Vpos.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00115">DisplayUnit.cpp:115</a></div></div>
<div class="ttc" id="aclass_t_display_html_a4ea243ff377fcc09d3da53dbb2b18dfe"><div class="ttname"><a href="class_t_display.html#a4ea243ff377fcc09d3da53dbb2b18dfe">TDisplay::DisplayOffsetVHome</a></div><div class="ttdeci">static int DisplayOffsetVHome</div><div class="ttdoc">the vertical offset of the 'Home' display</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00083">DisplayUnit.h:83</a></div></div>
<div class="ttc" id="a_train_unit_8h_html"><div class="ttname"><a href="_train_unit_8h.html">TrainUnit.h</a></div></div>
<div class="ttc" id="aclass_t_display_html_a9c7886bf1e4622e8560ad7558ede8dcc"><div class="ttname"><a href="class_t_display.html#a9c7886bf1e4622e8560ad7558ede8dcc">TDisplay::Rectangle</a></div><div class="ttdeci">void Rectangle(int Caller, int HPos, int VPos, TColor Col, int Size, int Width)</div><div class="ttdoc">Plot a rectangle at the defined position with colour Col &amp; size defined by Size.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00156">DisplayUnit.cpp:156</a></div></div>
<div class="ttc" id="aclass_t_display_html_a62c3d449d00b1a063a4bf7f212968e87"><div class="ttname"><a href="class_t_display.html#a62c3d449d00b1a063a4bf7f212968e87">TDisplay::DisplayZoomOutOffsetHHome</a></div><div class="ttdeci">static int DisplayZoomOutOffsetHHome</div><div class="ttdoc">the horizontal offset of the zoomed-out 'Home' display</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00089">DisplayUnit.h:89</a></div></div>
<div class="ttc" id="aclass_t_display_html_ae099b334095873971b46f5c4c5e0bd2e"><div class="ttname"><a href="class_t_display.html#ae099b334095873971b46f5c4c5e0bd2e">TDisplay::OutputLog3</a></div><div class="ttdeci">TLabel *&amp; OutputLog3</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00058">DisplayUnit.h:58</a></div></div>
<div class="ttc" id="aclass_t_display_html_ad601661fd4cd79a47b4c80ae77f901a9"><div class="ttname"><a href="class_t_display.html#ad601661fd4cd79a47b4c80ae77f901a9">TDisplay::PlotBlank</a></div><div class="ttdeci">void PlotBlank(int Caller, int HLoc, int VLoc)</div><div class="ttdoc">Plot a blank track element at HLoc &amp; VLoc.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00239">DisplayUnit.cpp:239</a></div></div>
<div class="ttc" id="aclass_t_display_html_afc194f2bc9eda7fe8de600098c85d2ac"><div class="ttname"><a href="class_t_display.html#afc194f2bc9eda7fe8de600098c85d2ac">TDisplay::OutputLog10</a></div><div class="ttdeci">TLabel *&amp; OutputLog10</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00065">DisplayUnit.h:65</a></div></div>
<div class="ttc" id="a_graphic_unit_8cpp_html_ad29d511e4459e72d5bc60744d70a0f8c"><div class="ttname"><a href="_graphic_unit_8cpp.html#ad29d511e4459e72d5bc60744d70a0f8c">RailGraphics</a></div><div class="ttdeci">TRailGraphics * RailGraphics</div><div class="ttdoc">the object pointer, object created in InterfaceUnit</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8cpp_source.html#l00050">GraphicUnit.cpp:50</a></div></div>
<div class="ttc" id="aclass_t_display_html_ab96c1fdec64997a8c252704ea6c231bf"><div class="ttname"><a href="class_t_display.html#ab96c1fdec64997a8c252704ea6c231bf">TDisplay::Clear</a></div><div class="ttdeci">void Clear(int Caller, TRect Rect)</div><div class="ttdoc">Empty the rectangle defined by Rect.</div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8cpp_source.html#l00175">DisplayUnit.cpp:175</a></div></div>
<div class="ttc" id="a_graphic_unit_8h_html_a8958d0a4fdeb286d421bfd3f8e655406"><div class="ttname"><a href="_graphic_unit_8h.html#a8958d0a4fdeb286d421bfd3f8e655406">clB0G0R0</a></div><div class="ttdeci">#define clB0G0R0</div><div class="ttdef"><b>Definition:</b> <a href="_graphic_unit_8h_source.html#l00038">GraphicUnit.h:37</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_display_unit_8cpp.html">DisplayUnit.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  </ul>
</div>
</body>
</html>
